package cn.rocksolid.sport.security.entity;

import cn.rocksolid.sport.common.Constant.St;
import cn.rocksolid.sport.common.entity.PeopleEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * 系统用户
 *
 * @author Axl Zhao
 * @email axl.zhao@163.com
 */
@TableName("t_user")
@Data
public class UserEntity extends PeopleEntity {
  /**
   * serialVersionUID
   */
  private static final long serialVersionUID = 1L;
  /**
   *
   */
  private String theme;
  /**
   *
   */
  private St st;
  /**
   *
   */
  @TableField(exist = false)
  private List<RoleEntity> sysRoles;
}
